import { createDiscreteApi } from 'naive-ui'

/**
 * message -信息
 * notification -通知
 * dialog -对话框
 * loadingBar -加载条
 * modal -模态框
 */
export const { message, notification, dialog, loadingBar, modal } = createDiscreteApi([
  'message',
  'dialog',
  'notification',
  'loadingBar',
  'modal'
])
